<!DOCTYPE html>
<html lang="zh-CN">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <link rel="stylesheet" href="./assets/lib/layui/css/layui.css">
    <link rel="stylesheet" href="./css/login.css">
    <title>大事件</title>
</head>

<body>
    <img src="./assets/images/logo.png" alt="" id="logo">
    <!-- 登录 -->
    <div class="box login">
        <h1>大事件后台管理系统</h1>
        <form class="layui-form" action="">
            <div class="layui-form-item">
                <i class="layui-icon layui-icon-username"></i>
                <input type="text" name="username" lay-verify="title" autocomplete="off" placeholder="请输入用户名"
                    class="layui-input">
            </div>
            <div class="layui-form-item">
                <i class="layui-icon layui-icon-password"></i>
                <input type="text" name="password" lay-verify="title" autocomplete="off" placeholder="请输入密码"
                    class="layui-input">
            </div>
            <div class="layui-form-item">
                <button type="submit" class="layui-btn layui-btn-fluid layui-bg-blue" lay-submit=""
                    lay-filter="demo1">登录</button>
            </div>
            <div class="layui-form-item">
                <a href="javascript:;">去注册账号</a>
            </div>
        </form>
    </div>
    <!-- 注册 -->
    <div class="box register" style="display: none;">
        <h1>大事件后台管理系统</h1>
        <form class="layui-form" action="">
            <div class="layui-form-item">
                <i class="layui-icon layui-icon-username"></i>
                <input type="text" required lay-verify="required|user" name="username" lay-verify="title"
                    autocomplete="off" placeholder="请输入用户名" class="layui-input">
            </div>
            <div class="layui-form-item">
                <i class="layui-icon layui-icon-password"></i>
                <input type="text" required lay-verify="required|pass" name="password" lay-verify="title"
                    autocomplete="off" placeholder="请输入密码" class="layui-input pwd">
            </div>
            <div class="layui-form-item">
                <i class="layui-icon layui-icon-password"></i>
                <input type="text" required lay-verify="required|pass|same" name="" lay-verify="title"
                    autocomplete="off" placeholder="请再次输入密码" class="layui-input">
            </div>
            <div class="layui-form-item">
                <button type="submit" class="layui-btn layui-btn-fluid layui-bg-blue" lay-submit=""
                    lay-filter="demo1">注册</button>
            </div>
            <div class="layui-form-item">
                <a href="javascript:;">去登录</a>
            </div>
        </form>
    </div>

    <script src="./assets/lib/layui/layui.js"></script>
    <script src="./assets/lib/jquery.js"></script>
    <script src="./js/common.js"></script>
    <script src="./js/login.js"></script>
</body>

</html>